package cool.taomu.toolkit.apilog.entity

import java.time.LocalDateTime
import org.eclipse.xtend.lib.annotations.Accessors
import org.eclipse.xtend.lib.annotations.ToString
import java.io.Serializable

@Accessors
@ToString
class ApiCallEventEntity implements Serializable{
	final String methodName;
	final String httpMethod;
	final String path;
	final LocalDateTime callTime;

	new(String methodName, String httpMethod, String path, LocalDateTime callTime) {
		this.methodName = methodName;
		this.httpMethod = httpMethod;
		this.path = path;
		this.callTime = callTime;
	}
}
